package com.spring.framework.model.xml.inject;

public class AutowireInject {

	/**
	 * 依赖AutowireDIB和AutowireDIC
	 */
	public static class AutowireInjectA {

		private AutowireInjectB autowireInjectB;
		private AutowireInjectC autowireInjectC;

		public void setAutowireInjectC(AutowireInjectC autowireInjectC) {
			this.autowireInjectC = autowireInjectC;
		}

		public AutowireInjectA() {
		}

		public AutowireInjectA(AutowireInjectB autowireInjectB) {
			this.autowireInjectB = autowireInjectB;
		}

		@Override
		public String toString() {
			return "AutowireDIA{" +
					"autowireDIB=" + autowireInjectB +
					", autowireDIC=" + autowireInjectC +
					'}';
		}
	}

	public static class AutowireInjectB {
		private String property1;
	}

	public static class AutowireInjectC {
		private String property1;
	}
}
